* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
  'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
  'Noto Color Emoji';
}

.bg {
  width: 100vw;
  height: 100vh;
  background: url("./assets/bg.png") no-repeat center center / cover;
}

.logo {
  position: absolute;
  left: 50%;
  top: 150px;
  transform: translate(-50%, 0);
  color: #fff;
  width: 300px;
  height: 106px;
  padding-top: 160px;
  background: url(./assets/logo.png) no-repeat 50% 0 / 148px 106px;
  font-size: 18px;
  text-align: center;
}

.enter-btn {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
  bottom: 80px;
  width: 420px;
  height: 90px;
  line-height: 90px;
  color: #fff;
  font-size: 36px;
  text-align: center;
  border-radius: 45px;
  background: linear-gradient(to right, #4b81f7, #4927c8);
  background-size: 400% 400%;
  animation: gradientChange 10s infinite;
}

@keyframes gradientChange {
  0% {
    background-position: 0 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}

.enter-btn span {
  display: inline-block;
  margin-right: 4px;
  vertical-align: -8px;
  width: 42px;
  height: 42px;
  background: url(./assets/enter-btn.png) no-repeat 50% 50% / cover;
}

// list
.list-wrap {
  height: 100vh;
  padding: 120px 30px 0;
  background: #161921;
  overflow: hidden;
}

.list-title {
  position: fixed;
  width: calc(100% - 60px);
  top: 20px;
  display: flex;
  justify-content: space-around;
}

.title {
  padding: 0 18px;
  color: #666;
  border: 1px solid #192b6b;
  border-radius: 30px;
  height: 60px;
  line-height: 60px;
  font-size: 24px;

  &.active {
    color: #fff;
    border: 1px solid #3366cc;
  }
}

.list {
  height: calc(100vh - 120px);
  overflow-y: auto;
}

.list-item {
  border-radius: 30px;
  margin-bottom: 36px;
  background: #27283a;
  overflow: hidden;

  h3 {
    padding: 0 20px;
    font-weight: lighter;
    line-height: 2.8;
    color: #fff;
    font-size: 32px;
  }
}

.cover {
  position: relative;
  height: fit-content;
  overflow: hidden;
  border-radius: 30px 30px 0 0;

  img {
    display: block;
    width: 100%;
    vertical-align: middle;
  }

  .flag {
    position: absolute;
    left: 20px;
    top: 20px;
    background: #4884fe;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    padding: 4px 20px;
    border-radius: 12px;
  }
}

.placeholder {
  background: rgb(159, 159, 159);
  min-height: 180px;
  text-align: center;

  svg {
    display: inline-block;
    width: 200px;
    vertical-align: middle;
  }
}

// detail
.detail-wrap {
  min-height: 100vh;
  background: #181820;
  color: #fff;
}

.detail {
  padding: 30px;

  h3 {
    font-weight: normal;
    margin-bottom: 20px;
  }

  .desc {
    line-height: 1.6;
  }
}

.detail-cover {
  position: relative;

  canvas {
    position: relative;
    z-index: 1;
  }
}

.play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120px;
  height: 120px;
  transform: translate(-50%, -50%);
  z-index: 99;
  background: url(./assets/play.png) no-repeat 50% 50% / cover;
}
